package com.rm.zeyou.pay.wxpay.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;



@NoArgsConstructor
@Data
public class WeChatNativePayVO {


    @JsonProperty("mchid")
    private String mchid;
    @JsonProperty("out_trade_no")
    private String outTradeNo;
    @JsonProperty("appid")
    private String appid;
    @JsonProperty("description")
    private String description;
    @JsonProperty("notify_url")
    private String notifyUrl;
    @JsonProperty("amount")
    private AmountDTO amount;

    @NoArgsConstructor
    @Data
    public  class AmountDTO {
        @JsonProperty("total")
        private Integer total;
        @JsonProperty("currency")
        private String currency;
    }
}

